<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>



<html>
	<head>
		<!-- Head -->
		<head>
			<title>预定</title>

			<!-- Meta-Tags -->
			<meta name="viewport" content="width=device-width, initial-scale=1">
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

			<script type="application/x-javascript">
				addEventListener("load", function() {
					setTimeout(hideURLbar, 0);
				}, false);

				function hideURLbar() {
					window.scrollTo(0, 1);
				};
			</script>
			
			<!-- //Meta-Tags -->

			<!-- Style -->
			<link href="<c:url value="/css/bootstrap.css"/>" rel="stylesheet" type="text/css" media="all">
			<link href="<c:url value="/css/index.css"/>" rel="stylesheet" type="text/css" media="all">



		</head>
		<!-- //Head -->


	<body>
		<div style="margin-top: -30px;margin-right: 10px;float: right;display: inline;color: white;">
		<div class="clear" style="display: inline;"></div>
		<a href='<c:url value="customerPersonalCenter"/>' style="color: white;">个人中心</a>
		&nbsp;|&nbsp;
		<div class="clear" style="display: inline;"></div>
		<a href='<c:url value="customerLogout"/>' style="color: white;">退出</a>
		</div>	

		<h1>我的订单</h1>


			<div style="margin: 0 auto;">
				<table class="orders-table table" style="width: 80%;color: white;margin: 0 auto;">
					<tbody>
						<c:forEach items="${orderss}" var="order">
							<tr>
								<td>
									${order.orderNumber}
								</td>

								<td>
									${order.inTime}
								</td>
								
								<td>
									${order.outTime}
								</td>
								
								<td>
									${order.roomNumber}
								</td>
								
								<td>
									${order.price}
								</td>
								
								<td>
									${order.customerIdcard}
								</td>
								
								<td>
									${order.customerPhone}
								</td>
								
								<td>
									${order.state}
								</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
	</body>
</html>
